change top direction